home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_04
/
1004110c
< prev
next >
Wrap
Text File
|
1992-02-08
|
196b
|
11 lines
void get_low_high(int a, int b, int c, int *low, int *high)
{
*low = (a < b) ? a : b;
if (c < *low) *low = c;
*high = (a > b) ? a : b;
if (c > *high) *high = c;
}